package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class SysSecurity extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    public Integer id;

    /**
     * 密码是否设置有效期
     */
    public Boolean pwdIsDate;
    /**
     * 密码有效期
     */
    public Integer pwdDate;
    /**
     * 密码最小长度
     */
    public Integer pwdMinLength;
    /**
     * 密码最大长度
     */
    public Integer pwdMaxLength;
    /**
     * 密码复杂度
     */
    public String pwdComplexity;
    /**
     * 密码错误次数是否限制
     */
    public Boolean pwdIsError;
    /**
     * 密码错误次数
     */
    public Integer pwdErrorNum;
    /**
     * 限制登录时间
     */
    public Integer pwdErrorTime;
    /**
     * 弱口令校验
     */
    public Boolean pwdIsWeak;

    /**
     * 是否开启登录保护
     */
    public Boolean loginIsProtect;
    /**
     * 登录保护时间
     */
    public Integer loginProtectTime;
    /**
     * 是否允许多人同时登录一个账号
     */
    public Boolean isSingleLogin;

    /**
     * 用户名是否支持修改
     */
    private Boolean changeIsName;
    /**
     * 初始密码是否修改
     */
    private Boolean changeIsPwd;

    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Boolean getPwdIsDate() {
        return pwdIsDate;
    }

    public void setPwdIsDate(Boolean pwdIsDate) {
        this.pwdIsDate = pwdIsDate;
    }

    public Integer getPwdDate() {
        return pwdDate;
    }

    public void setPwdDate(Integer pwdDate) {
        this.pwdDate = pwdDate;
    }

    public Integer getPwdMinLength() {
        return pwdMinLength;
    }

    public void setPwdMinLength(Integer pwdMinLength) {
        this.pwdMinLength = pwdMinLength;
    }

    public Integer getPwdMaxLength() {
        return pwdMaxLength;
    }

    public void setPwdMaxLength(Integer pwdMaxLength) {
        this.pwdMaxLength = pwdMaxLength;
    }

    public String getPwdComplexity() {
        return pwdComplexity;
    }

    public void setPwdComplexity(String pwdComplexity) {
        this.pwdComplexity = pwdComplexity;
    }

    public Boolean getPwdIsError() {
        return pwdIsError;
    }

    public void setPwdIsError(Boolean pwdIsError) {
        this.pwdIsError = pwdIsError;
    }

    public Integer getPwdErrorNum() {
        return pwdErrorNum;
    }

    public void setPwdErrorNum(Integer pwdErrorNum) {
        this.pwdErrorNum = pwdErrorNum;
    }

    public Integer getPwdErrorTime() {
        return pwdErrorTime;
    }

    public void setPwdErrorTime(Integer pwdErrorTime) {
        this.pwdErrorTime = pwdErrorTime;
    }

    public Boolean getPwdIsWeak() {
        return pwdIsWeak;
    }

    public void setPwdIsWeak(Boolean pwdIsWeak) {
        this.pwdIsWeak = pwdIsWeak;
    }

    public Boolean getLoginIsProtect() {
        return loginIsProtect;
    }

    public void setLoginIsProtect(Boolean loginIsProtect) {
        this.loginIsProtect = loginIsProtect;
    }

    public Integer getLoginProtectTime() {
        return loginProtectTime;
    }

    public void setLoginProtectTime(Integer loginProtectTime) {
        this.loginProtectTime = loginProtectTime;
    }

    public Boolean getSingleLogin() {
        return isSingleLogin;
    }

    public void setSingleLogin(Boolean singleLogin) {
        isSingleLogin = singleLogin;
    }

    public Boolean getChangeIsName() {
        return changeIsName;
    }

    public void setChangeIsName(Boolean changeIsName) {
        this.changeIsName = changeIsName;
    }

    public Boolean getChangeIsPwd() {
        return changeIsPwd;
    }

    public void setChangeIsPwd(Boolean changeIsPwd) {
        this.changeIsPwd = changeIsPwd;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "SysSecuritySetting{" +
                "id=" + id +
                ", changeIsName=" + changeIsName +
                ", changeIsPwd=" + changeIsPwd +
                ", pwdIsDate=" + pwdIsDate +
                ", pwdDate=" + pwdDate +
                ", pwdMinLength=" + pwdMinLength +
                ", pwdMaxLength=" + pwdMaxLength +
                ", pwdComplexity='" + pwdComplexity + '\'' +
                ", pwdIsError=" + pwdIsError +
                ", pwdErrorNum=" + pwdErrorNum +
                ", pwdErrorTime=" + pwdErrorTime +
                ", pwdIsWeak=" + pwdIsWeak +
                ", loginIsProtect=" + loginIsProtect +
                ", isSingleLogin=" + isSingleLogin +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", loginProtectTime=" + loginProtectTime +
                "}";
    }


}
